package br.com.takashii.lp.web;

import br.com.caelum.vraptor.Path;
import br.com.caelum.vraptor.Resource;
import br.com.caelum.vraptor.Result;
import br.com.caelum.vraptor.http.route.Router;

@Resource
public class IndexController {

	private final Result result;
//	private final Router router;

	public IndexController(Result result, Router router) {
		this.result = result;
//		this.router = router;
	}

	@Path("/")
	public void index() {
		result.redirectTo(PrincipalController.class).principal();
	}
}
